package com.flower.mapper;

import com.flower.model.dto.BuyPageQueryDTO;
import com.flower.model.entity.Buy;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@SuppressWarnings("all")
/**
 *@ClassName BuyMapper
 *@Description TODO
 *@Author @O_o  GW__
 *@Date 2025/6/16 22:56
 *@Version 1.0
 */
@Mapper
public interface BuyMapper {
    Page<Buy> pageQuery(BuyPageQueryDTO buyPageQueryDTO);

    void add(Buy buy);

    void update(Buy buy);

    void deleteBuyById(Integer id);

    Page<Buy> findpage1(Page<Object> objects);
}
